package cn.wsxiot.display.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 定时任务
 */
@Slf4j
@Component
public class ScheduleTask {

    @Scheduled(fixedDelay = 100000)
    public void heartbeat(){
        log.info("web heartbeat");
    }
}
